{extend name="public/base"}
{block name='main'}
<fieldset class="layui-elem-field layui-field-title" style="margin-top:0px;">
  <legend>{$menuid|getmenuname}</legend>
</fieldset>
<form class="layui-form layui-form-pane" action="">
  <input type="hidden" name="menuid"  value="19"/>
  <div class="layui-form-item" pane="">
    <label class="layui-form-label">用户注册</label>
    <div class="layui-input-block">
      <input type="radio" title="开启" {if ($web_config.reg_status == 1)}checked="checked"{/if} value="1" name="setting[reg_status]">
      <input type="radio" title="关闭"  {if ($web_config.reg_status == 0)}checked="checked"{/if} value="0" name="setting[reg_status]">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">默认介绍</label>
    <div class="layui-input-block">
      <input type="text" name="setting[user_intro_default]" placeholder="请输入" class="layui-input" value="{$web_config.user_intro_default}">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">注册协议</label>
    <div class="layui-input-block">
      <textarea placeholder="请输入注册协议" name="setting[reg_protocol]" id="closed_reason" class="layui-textarea">{$web_config.reg_protocol}</textarea>
    </div>

  </div>

  <div class="layui-form-item">
    <label class=""></label>
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" lay-filter="upbtn">提交保存</button>
    </div>
  </div>
</form>
{include file='config/config_common'}
{/block}